import 'package:flutter/material.dart';

class GridViewBuilderCase extends StatelessWidget {
  const GridViewBuilderCase({super.key});

  @override
  Widget build(BuildContext context) {
    return GridView.builder(
      gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount(
          crossAxisCount: 3,
          crossAxisSpacing: 10,
          mainAxisSpacing: 10,
          childAspectRatio: 1 / 1),
      itemBuilder: (context, index) {
        return Container(
          color: Colors.red,
        );
      },
      itemCount: 20,
    );
  }
}
